
import Root from "../../Core/Root";
import LayerManager from "../../Core/Libs/LayerManager";
import ResLoader from "../../Core/Libs/ResLoader";
import Logger from "../../Core/Libs/Logger";

const { ccclass, property } = cc._decorator;

@ccclass
export default class MainScene extends Root {

    run(): void {

        //打开默认场景
        LayerManager.open("enter")
        //资源预加载
        
        //微信登陆
        // UserModel.login().then(()=>{
        //     //绑定事件
        

        //     //显示开始游戏按钮

        //     //显示历史区服

        // }).catch(err => {
        //     Toast.show("登陆失败")
        // })
    }

}